package com.hsylient.springboot.controller;

import com.hsylient.springboot.api.DockerApi;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
public class DockerController implements DockerApi {

    public String getDockerFileEnv(String envKey) {
        String envValue = System.getenv(envKey);
        log.info("[测试获取dockerFile] dockerFile中定义的环境变量 {}", envValue);
        return envValue;
    }
}
